﻿using UnityEngine;
using System.Collections;

[RequireComponent (typeof(Light))]
public class LightTrigger : Trigger {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

    public override void Do() {
        base.Do();
        light.enabled = !light.enabled;
    }
}
